<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Add Order</title>
    <link rel="stylesheet" type="text/css" href="<s:url value='/CSS/order/order_add.css'/>"/>
  </head>
  <body>
    <div class="container">
      <div class="head">
        <s:include value="/WEB-INF/JSP/head.jsp"/>
      </div>
      <div class="body">
        <div class="left">
          <s:include value="/WEB-INF/JSP/order/left.jsp"/>
        </div>
        <div class="right">
          <s:form action="orderAction_confirm" namespace="/order">
            <div class="right-form">
              <div class="title">My Order</div>
              <s:fielderror cssClass="red"></s:fielderror>
              <div class="group">
                <div class="d1">Consignee:</div>
                <div class="d2"><s:textfield cssClass="text" name="order.realName"></s:textfield></div>
              </div>
              <div class="group">
                <div class="d1">Tel:</div>
                <div class="d2"><s:textfield cssClass="text" name="order.tel"></s:textfield></div>
              </div>
              <div class="group">
                <div class="d1">Address:</div>
                <div class="d2"><s:textfield cssClass="text" name="order.address"></s:textfield></div>
              </div>
              <div class="group">
                <div class="d1">Payment:</div>
                <div class="d2"><s:select cssClass="select" name="order.payment" list="@com.aoyy.util.order.Payment@getNames()" value="@com.aoyy.util.order.Payment@getNames()[0]"></s:select></div>
              </div>
              <div>
                <s:submit cssClass="submit" value="Pay"/>
              </div>
            </div>             
          </s:form>
        </div>
      </div>
      <div class="foot">
        <s:include value="/WEB-INF/JSP/foot.jsp"/>
      </div>
    </div>  
  </body>
</html>